div.sub-menu{
	display: block;
	position: relative;
	background:#e5e5e5;
	width:277px;
	z-index:1;
	text-align: left;
	padding: 15px 15px;
	margin-left: -263px;
}
div.img-sub-menu {
	position: absolute;
	top:-8px;
	left:50%;
	margin-left:-8px;
	width:17px;
	height: 8px;
	background:url(../img/arrow-sub-menu.png) repeat-x;
}
div.sub-menu ul {
	margin-left: 17px;
	list-style: square;
	color: #6D6C6C;
}
div.sub-menu  li p{
	margin-left: -3px;
}
div.sub-menu  ul p{
	top:0px;
}
div.sub-menu  ul p a{
	font-family: Serif Bold;
	color:#000;
	text-decoration: none;
}
div.sub-menu  ul p a:hover{
	text-decoration: underline;
}
div.popup{
	position: relative;
	z-index: 100;
}
div.wrap_popup{
	z-index:99;
    left:0;
    top:0;
    position:fixed;
    width:100%;
    height:100%;
}

div.popup_conteiner{
    position:absolute;
    top:0;
	 width:100%;
	z-index:99;
	display:none;
}

div.enter-reg{
	position: absolute;
	left: 50%;
	top: 84px;
	margin-left: -174px;
	width:348px;
	min-height:267px;
	padding:20px 20px;
	border: 1px solid #919191;
	background:#fff;
	-webkit-box-shadow: 0px 0px 17px 0px #000;
	-moz-box-shadow: 0px 0px 17px 0px #000;
	box-shadow: 0px 0px 17px 0px #000;
}
div.enter-reg input.submit {
	float:left;
}
div.enter-reg p.remember {
	float: right;
	margin-top: 8px;
}
div.enter-reg h1{
	font-family: Sans Caption Regular;
	color: #BDBDBD;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: normal;
	line-height: normal;
	margin-bottom: 5px;
}
div.enter-reg h3 {
	font-size: 13px;
	margin-right: 5px;
	margin-bottom: 3px;
}
p.error{
	font-size: 12px;
	color:#BB2B2B;
}
div.enter-reg h3, p.error {
	display: inline-table;
}
div.enter-reg [type="text"] {
	height: 32px;
	margin-bottom: 10px;
}
input[type="password"] {
	border: 1px solid #7f7f7f;
	width: 100%;
	height: 32px;
	color: #C0C0C0;
	padding: 7px 0px;
	padding-left: 5px;
	font-family: Serif Bold Italic;
}
input[type="password"]{
	margin-bottom: 25px;
}
input[type="password2"] {
	border: 1px solid #7f7f7f;
	width: 100%;
	height: 32px;
	color: #C0C0C0;
	padding: 7px 0px;
	padding-left: 5px;
	font-family: Serif Bold Italic;
}
input[type="password2"]{
	margin-bottom: 25px;
}
div.gallery{
	position: absolute;
	left: 0px;
	top: 0px;
	width:930px;
	padding:20px 20px;
	background:#fff;
	-webkit-box-shadow: 0px 0px 17px 0px #000;
	-moz-box-shadow: 0px 0px 17px 0px #000;R
	box-shadow: 0px 0px 17px 0px #000;
}
div.gallery h1{
	font-family: Sans Caption Regular;
	color: #BDBDBD;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: normal;
	line-height: normal;
	margin-bottom: 5px;
}
div.gallery div.ImgContainer{
	position: relative;
}
div.gallery  div.arrow-nav {
	top: 50%;
	margin-top:-29px;
}
div.gallery div.arrow-nav.left{
	margin-left: -8px;
}
div.gallery div.arrow-nav.right{
	margin-right: -8px;
}
div.gallery div.infoimg, div.gallery div.close {
	position: absolute;
	top: 19px;
}
div.gallery div.infoimg {
	right: 21px;
}
div.gallery div.close {
	right:6px;
	top:2px;
	width: 15px;
	height: 15px;
	text-align: center;
}
div.gallery div.close a {
	display: inherit;
	font-size: 15px;
	color:#000;
}
div.gallery div.close a:hover {
	text-decoration: none;
}
div.gallery div.infoimg p {
	float: left;
	margin-left: 10px;
}
/* new */
div.errorpopup{
	position: fixed;
	left: 50%;
	top: 50%;
	margin: auto;
	margin-top: -238px;
	margin-left: -361px;
	width:764px;
	padding:20px 20px;
	background:#fff;
	-webkit-box-shadow: 0px 0px 17px 0px #000;
	-moz-box-shadow: 0px 0px 17px 0px #000;
	box-shadow: 0px 0px 17px 0px #000;
}
div.errorpopup h1{
	font-family: Sans Caption Regular;
	font-size: 14px;
	font-weight: boold;
	line-height: normal;
	margin-bottom: 5px;
}
div.errorpopup div.leftpart {
	margin-right: 13px;
}
div.errorpopup div.leftpart, div.errorpopup div.rightpart{
	display: inline-table;
	/*width: 48.8%;*/
}
div.errorpopup p{
	font-size: 13px;
}
div.errorpopup span.error {
	color:red;
	text-decoration: underline;
}
div.errorpopup div.rightpart div.info{
	padding: 5px 10px;
	background-color:#f7d0d1;
}
div.errorpopup div.rightpart div.info p {
	color:#000 !important;
	margin-right: 0px;
	margin-bottom: 5px;
}
div.errorpopup div.rightpart div.infofooter  {
	border-top: 1px solid #c39c9d;
	text-align: right;
}
div.errorpopup div.rightpart div.infofooter p {
	color:#c39c9d !important;
	font-size: 12px !important;
	margin-bottom: 0px;
}
div.errorpopup div.rightpart div.info span.plus{
	margin-left: 4px;
	margin-right: 4px;
}
div.errorpopup div.rightpart div.info span.ctrl, div.errorpopup div.rightpart div.info span.enter {
	border: 1px solid #000;
	padding: 0px 6px;
	background-color:#c39d9f;
}
div.errorpopup div.leftpart div.texterrorblock {
	padding: 0px 10px;
	margin-bottom: 10px;
}
div.errorpopup div.someblock {
	margin-bottom: 10px;
}
div.errorpopup input.submit  {
	margin-right: 0px;
}
div.errorpopup input.submit, div.errorpopup input.cancel{
	float:right;
	margin-left: 10px;
}
div.errorpopup input.cancel {
	cursor: pointer;
	border: none;
	padding: 5px 13px;
	font-size: 11px;
	height: 28px;
	color: #fff;
	text-transform: uppercase;
	background-color: grey;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}